package com.zabra.zl.ui.detailsallocatin.contract;

import com.zabra.zl.base.BaseView;
import com.zabra.zl.data.SimpleBean;

import retrofit2.Call;

public interface DetailsAllocationContract {
    interface Model {
        Call<SimpleBean> getAddCashData(int bpOrderId, String money);

        Call<SimpleBean> getOverDealData(int bpOrderId);
    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccessAddCash(SimpleBean bean);

        void onSuccessOver(SimpleBean bean);
    }

    interface Presenter {
        void getAddCashData(int bpOrderId, String money);

        void getOverDealData(int bpOrderId);
    }
}
